package global

type NacosConf struct {
	Host      string `yaml:"Host"`
	Port      int    `yaml:"Port"`
	DataId    string `yaml:"DataId"`
	Group     string `yaml:"Group"`
	NacosName string `yaml:"NacosName"`
}
type ClientConf struct {
	ConsulConf *ConsulConf `yaml:"ConsulConf"`
	ApiConf    *ApiConf    `yaml:"ApiConf"`
	AesConf    *AesConf    `yaml:"AesConf"`
}
type ConsulConf struct {
	Id             string   `json:"Id" yaml:"Id"`
	Name           string   `json:"Name" yaml:"Name"`
	Tags           []string `json:"Tags" yaml:"Tags"`
	BookConsulName string   `yaml:"BookConsulName"`
}
type ApiConf struct {
	Host string `yaml:"Host"`
	Port int    `yaml:"Port"`
}
type AesConf struct {
	Key string `yaml:"Key"`
}
